
Component({
  properties: {
    tabList: Array
  },
  data: {
    select: 0
  },
  methods: {
    // 切换tab
    selectTab(e) {
      // console.log(e);
      const { id } = e.currentTarget.dataset;
      this.setData({
        select: id
      })
    }
  }
})